public class DrawThread extends Thread {

    private Account acc;

    public DrawThread(Account acc) {
        this.acc = acc;
    }

    @Override
    public void run() {
        // 开始取钱十万元
        acc.drawMoney(100000);
    }
}
